package com.zlm.user.partner.service;

import com.zlm.common.dto.userPartner.SysPartnerDto;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Author: duyufu
 * @Date: 2019/7/10 13:35
 */
@Service
public interface LoginService {

    /**
     * 合伙人登录
     * @param mobile
     * @return
     */
    SysPartnerDto loginPartner(String mobile);

    /**
     * 验证码登录
     * @param mobile
     * @return
     */
    SysPartnerDto activationLogin(String mobile);

    /**
     * 环信注册
     * @param userId
     */
    void huanxinRegister(Integer userId);

    /**
     * 强制下线
     * @param userHxId
     */
    void huanxinDisconnect(String userHxId);
}
